<?php 

include('../php/iniciador.php'); 

?>
<!DOCTYPE HTML>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>Urbandow</title>
		<meta name="description" content="<?php echo DESCRIPTION ?>" />
		<meta name="keywords" content="<?php echo KEYWORDS ?>" />
		<meta name="author" content="<?php echo AUTHOR ?>" />

<!--  TODO    <meta name="viewport" content="width=device-width, user-scalable=no"> -->
        
        <link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600' rel='stylesheet' type='text/css'>
        <link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
        
        <script type="text/javascript"  src="http://code.jquery.com/jquery.js"></script>
        <script type="text/javascript" src="js/skdslider.js"></script>
        <script type="text/javascript" src="js/jquery-ui-1.10.4.custom.js"></script>
        
        <script type="text/javascript" src="js/boton_mostrar.js"></script>
        <script type="text/javascript" src="js/boton_mostrar_tipo_b.js"></script>
        <script type="text/javascript" src="js/boton_mostrar_tipo_business.js"></script>
        
		<link rel="stylesheet" type="text/css" href="estilos/base.css" />
        <link rel="stylesheet" href="estilos/skdslider.css">
        <link rel="stylesheet"  href="estilos/jquery-ui-1.10.4.custom.css" type="text/css">   
        
		<link rel="shortcut icon" href="favicon.ico"/>
       
		
		<!--[if lt IE 9]>
			<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>

			<style type="text/css">
    			.gradient {
       				filter: none;
    			}
  			</style>
            
		<![endif]-->
        
        <!-- TemplateBeginEditable name="head" -->

			<?php  
			
			//DEFINIR VARIABLES EN CADA PAGINA
			       
                $titulo_pagina = 1;
				$barra_bajocabecera = 1; //TAMBIEN MUESTRA id=fondo_main
                $columnas = 0;
				$paginacion = 0; 
				
        	?>
            
            
           
            
		<!-- TemplateEndEditable -->
        
        	<?php 
				
				switch ($columnas) {
					
				case "2a":
					
					$col_izq = "col_izq";
					$col_central = "col_central_der";
					$col_der = "invisible";
					
					break;
					
				case "2b":
					
					$col_izq = "invisible";
					$col_central = "col_central_izq";
					$col_der = "col_der_pequena";
					
				break;
					
				case 3:
					
					$col_izq = "col_izq";
					$col_central = "col_central_pequena";
					$col_der = "col_der_grande";
					
					break;
					
				default:
					
					$col_izq = "invisible";
					$col_central = "col_central_completa";
					$col_der = "invisible";
					
					break;
			}
				
			?>
        
	</head>
    
    <body>
    
    <!-- TemplateBeginEditable name="body" --> 

    	
	<!-- TemplateEndEditable -->
    	

            <header> 
            	<div id="cabecera" class="centrador">
                    <div id="logotipo">
                    	<hgroup><h1><a href="index.php" title="Urbandow"><img src="images/logotipo.png" width="241" height="45" alt="urbandow"></a></h1></hgroup>
                    </div>
                
                	<div id="cabecera_der">
                   
                        <div id="idioma" class="boton_cabecera">
                            <!--<select name="idioma">
                                <option value="english"><img src="images/united-kingdom.png" width="15" height="15" alt="english" class="bandera_idioma">English</option>
                                <option value="espanol"><img src="images/espana.png" width="15" height="15" alt="spanish" class="bandera_idioma">Español</option>
                            </select>-->
                            <a href="#"><img src="images/united-kingdom.png" width="15" height="15" alt="english" class="bandera_idioma">English</a>                 	
                        </div>
                        
                        <?php include('inc_menu_acceso.php'); ?>                 
                            
                     </div>
                
                </div>    				
            </header> 
            
			
			<?php include('inc_barra_login.php'); ?> 
            
            
            <main>
            	
                
            
				<?php  if($barra_bajocabecera){  
					
					include('inc_barra_bajocabecera.php');
                     
                    include('inc_fondo_main.php');
                 
				} ?> 

			   <?php if ($pagina_actual =="index"){  
			   			
						include('inc_buscador_inicio.php');
						 
						include('inc_carrusel.php'); 
						
						
				} ?> 	 
            
                <div id="contenido">
                    
                        
                    <?php  if($titulo_pagina){  
                        
                        include('inc_titulo_pagina.php');
                    
                     } ?>
                    
                    <div id="col_izq" class="<?php echo $col_izq ?> borde_columna">
                        <!-- TemplateBeginEditable name="col_izq" -->
                        <!-- TemplateEndEditable -->	
                    </div>
                    
                    <div id="col_central" class="<?php echo $col_central ; if ($pagina_actual !="index.php" and $columnas !=0) echo ' borde_columna'; ?> ">
                    
                        <article>
                        <!-- TemplateBeginEditable name="col_central" -->
                        <!-- TemplateEndEditable -->	
                        
                        <?php if ($paginacion) { ?>
                            <div id="paginacion"></div>
                        <?php } ?>
                        
                        </article>
                        
                    </div>
                    
                    <div id="col_der" class="<?php echo $col_der ?> borde_columna">               
                    
                        <!-- TemplateBeginEditable name="col_der" -->
                        <!-- TemplateEndEditable -->
                    </div>
                    
                    <div class="separador clear"></div>
                
                </div> 
            
            
            </main>

            <footer>
                <div id="pie" class="centrador <?php if ($pagina_actual !="index") echo 'borde_pie'; ?>" >
                	<?php include('inc_menu_pie.php'); ?>
                    <?php include('inc_copyright.php'); ?>
                    
                </div>
            </footer>
		
    </body>
    
</html>